/**
 *
 * @fild-name: myJs.js
 *
 * @author: wcc
 *
 * @info: model index.html && index.html
 *
 **/

function show(){
    var date = new Date();
    var str = date.getFullYear()+"年";
    str += (date.getMonth()+1)+"月";
    str += date.getDate()+"日 ";
    str += date.getHours()+":";
    if((date.getMinutes())<10){
        str += "0"+date.getMinutes();
    }else{
        str += date.getMinutes();
    }
    return str;
}/*获取系统时间*/

$(function(){
});

$(document).ready(function(){
    $(".time").html(show());/*显示时间*/

    $("#addition").click(function(){/*typemanage.html中点击添加表格*/
        $("#parent").before(rel());
    });

    $(".form_datetime").datetimepicker({/*日历插件，需置最后*/
        format: "dd MM yyyy - hh:ii",
        autoclose: true,
        todayBtn: true,
        pickerPosition: "bottom-left"
    });
});/*导航条获取系统当前时间*/

/**
 *
 * @fild-name: myJs.js
 *
 * @author: wcc
 *
 * @info: typemanage.html
 *
 **/

function rel() {
    var $strs1 = '<tr><td><input type="text"></td><td><input type="text"></td></tr>';
    return $strs1;
}

